import { request } from './axios-config'

export function getSearchData({url,params,method='get', data, headers}) {
  return request({
    url: url,
    params: params,
    method,
    data,
    headers
  })
}